<template>
  <div class="logintop">
    <div></div>
    <div>{{ topmiddle }}</div>
    <div>
      <slot name="right" />
    </div>
  </div>
</template>
<script>
export default {
  props: ['topmiddle'],
  data: () => ({})
}
</script>
<style lang="scss" scoped>
.logintop {
  height: 50px;
  background: #fff;
  display: flex;
  justify-content: space-around;
  div {
    font-size: 3.333vw;
    flex: 1;
    text-align: center;
    line-height: 50px;
  }
}
</style>
